#include <iostream>
using namespace std;

int main() {
    freopen("arena.in", "r", stdin);
    freopen("arena.out", "w", stdout);
    ios::sync_with_stdio(false); cin.tie(0); cout.tie(0);
    cout << 5 << '\n' << 19 << '\n' << 7 << '\n' << 1 << '\n';
    return 0;
}
